import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
import VueDPlayer from "vue-dplayer/dist/vue-dplayer.es";
import 'vue-dplayer/dist/vue-dplayer.css';
import "@/assets/css/iconfont.css";
import VuePlugins from "@/plugins";

Vue.use(ElementUI);
Vue.use(VuePlugins);
Vue.use(VueDPlayer);
Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: (h) => h(App),
  created() {
    // 全局事件总线绑定
    Vue.prototype.$bus = this;
  },
}).$mount("#app");
